<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('dict/index')}">{:L('ADMIN_DICT_INDEX')}</a></li>
			<li><a href="{:U('dict/add')}">{:L('ADMIN_DICT_ADD')}</a></li>
		</ul>
		<table class="table table-hover table-bordered table-list" id="menus-table">
			<thead>
				<tr>
					<th width="5%">ID</th>
					<th width="25%">{:L('DICT_CODE')}</th>
					<th width="25%">{:L('DICT_TEXT')}</th>
					<th width="25%">{:L('DICT_VALUE')}</th>
					<th width="20%">{:L('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="dicts" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.dict_code}</td>
						<td>{$vo.dict_text}</td>
						<td>{$vo.dict_value}</td>
						<td>
							<a href="{:U('dict/edit',array('id'=>$vo['id']))}" class="js-ajax-edit">{:L('EDIT')}</a>
							<a href="{:U('dict/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
						</td>
					</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>